set -x
# jvm参数
JVM_OPTIONS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/yblog-portal-heap/heap-file.hprof"
# 运行jar
exec java ${JVM_OPTIONS} -jar /yblog/yblog-portal/target/yblog-portal.jar